<%@page import="hyl.ext.base.MySession"%>
<%@page import="com.servlet.M2"%>
<%@page language="java" contentType="application/json;charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@page
	import="hyl.core.db.*,com.servlet.My,hyl.core.info.Content,hyl.core.MyFun"%>
<%
//查询列表数据
MySession tk = My.getSession(request, response);

Content ct = new Content();
////////////////////////////////dao//////////////////////////////////
//logo app别名 app域名 app账号 系统账号 允许登陆
String sql = " SELECT a.tm0,a.t0,a.t3,b.unameb,b.unamea,b.ok,a.appid,b.uidb,b.uida FROM app a left join app_user b on b.appb=a.appid and b.uidb=? ";
Object[] params = { tk.getUserId() };
ct.addBodyItem("_rs", My.getDB1().queryList2D(sql, params));
out.print(ct.toJsonString());
%>